package com.liang.design.cuisine.impl;

import com.liang.design.cook.ICook;
import com.liang.design.cuisine.ICuisine;

/**
 * @author lsm
 * @ClassName SiChuanCuisine.java
 * @Description TODO
 * @createTime 2023年12月05日 19:39:00
 */
public class SiChuanCuisine implements ICuisine {

    private ICook cook;
    public SiChuanCuisine(ICook cook) {
        this.cook = cook;
    }
    public void cook() {
        cook.doCooking();
    }
}
